<form id="<?php echo SignInForm::FORM_NAME; ?>" method="POST" action="<?php echo url_for('@signin'); ?>">
  <h1>Sign In</h1>
  <div class="content_wrp">
    <?php echo include_partial('global/errorsList', array('forms' => array($form), 'global' => $errorCollector)); ?>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[SignInForm::FIELD_USERNAME]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[SignInForm::FIELD_USERNAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 1)); ?>
        <p class="info left">Use your email address to sign in to Supertain.</p>
      </div>
      <div class="frmbox left">
        <div class="social_sharebtn">
          <a href="<?php echo $facebookSigninUrl; ?>" class="fbshare">xx</a>
        </div>
        <p class="info clear">Connect your Facebook account to sign in to Supertain.</p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[SignInForm::FIELD_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
        <?php echo $form[SignInForm::FIELD_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 2)); ?>
        <p class="info left"></p>
      </div>
      <div class="frmbox left ">
        <div class="social_sharebtn">
          <a href="<?php echo $twitterSigninUrl; ?>" class="twishare">xx</a>
        </div>
        <p class="info clear">Connect your Twitter account to sign in to Supertain.</p>
      </div>
    </div>

    <div class="clearfix mt15">
      <div class="frmbox left">
        <div class="clear">
          <input name="" type="submit" value="Sign in" class="btn blue"/>
        </div>
        <div class="clear termcondition"> <a href="<?php echo url_for('@forgot'); ?>">Forgot your password?</a> </div>
      </div>
      <div class="frmbox left">
        <div class="left signup"><a class="" href="<?php echo url_for('@signup'); ?>">xx</a></div>
      </div>
    </div>
  </div>
  <?php echo $form['_csrf_token']->render(); ?>
</form>